package lab4p1;

/**
 * <p>Title: SimpleComputations class for Lab #4</p>
 * <p>Description: CSIS 343 Lab on Unit testing using JUnit 4
 * </p>
 * 
 * @author tony
 * @date  09.31.2013
 * @email anthony.varghese@uwrf.edu
 * @version 1
 *
 */

public class SimpleComputations {
	private float  a;
	private float  b;
	
	public SimpleComputations(float  a_in, float  b_in ){
		a = a_in;
		b = b_in;
	}
	
	public float getA(){
		return a; 
	}
	
	public float getB(){
		return b; 
	}

	public float compute(){
		return a - b; 
	}
	
	public float divide(){	
		return a / b; 
	}
	
	public String toString(){
		return " ( a: " + a + ", b: " + b + " ) ";
	}
}
